package com.ctshk.rpc.localfun.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/4/13
 */
@ApiModel("產品細分單項產品")
@Data
public class ProductAttrItemDTO implements Serializable {

    @ApiModelProperty(value = "產品ID")
    private Long productId;

    @ApiModelProperty(value = "規格ID1")
    private Long attrId1;

    @ApiModelProperty(value = "規格ID2")
    private Long attrId2;

    @ApiModelProperty(value = "單項名稱",example = "一日電話卡")
    private String itemName;

    @ApiModelProperty(value = "適用人群",example = "適用於港澳台")
    private String intendedUser;

    @ApiModelProperty(value = "價格",example = "HKD258")
    private BigDecimal price;

    @ApiModelProperty(value = "使用日期開始時間",example = "2021-04-13T00:00:00")
    private LocalDate startTime;

    @ApiModelProperty(value = "使用日期結束時間",example = "2021-07-30T00:00:00")
    private LocalDate endTime;

}
